.mainPhoto {
    width: 100%;
    /* 使宽度适应父容器 */
    max-width: 100%;
    /* 确保不会超出父容器 */
    height: auto;
    /* 保持图片的纵横比 */
}

/* 这是头图 */

body {
    box-sizing: border-box;
    background-color: black;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* 隐藏水平滚动条 */
}

/* 这些是表格的内容 */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 20px;
    /* 表格底部间距 */
}

th,
td {
    border: 1px solid #FFFFFF;
    /* 将边框颜色设置为白色 */
    padding: 10px;
    border: 1px solid #ccc;
    /* 为单元格添加边框 */
}

th {
    font-weight: bold;
}

td {
    font-weight: normal;
}

.medium {
    font-weight: bold;
}

/* 这些是其它的部分 */
.hpbody {
    background-color: black;
}

.text {
    display: flex;
    /* height: 2000px; */
    padding: 50px 0;
}

table,
p,
ol {
    line-height: 1.6;
    /* 设置行距为1.6倍字体大小 */
    margin-bottom: 15px;
    /* 底部留有适当的间距，防止内容挤在一起 */
}

/* 针对 p 标签中特定类的样式设置 */

p.introducetable {
    line-height: 1.8;
    /* 行距稍大，适合长段文本 */
    margin-bottom: 20px;
    /* 增加间距，确保段落之间有足够的空白 */
    /* text-align: center; */
    /* 在父容器中居中对齐 */
}

p.summarytable {
    line-height: 1.8;
    /* 行距稍大，适合长段文本 */
    margin-bottom: 20px;
    /* 增加间距，确保段落之间有足够的空白 */
    text-align: center;
    /* 在父容器中居中对齐 */
}

.formula {
    display: block;
    text-align: center;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    margin: 20px 0;
    font-size: 0.9em;
    /* 调整字号比例，缩小公式大小 */
    line-height: 1.2em;
    /* 调整行高以适应缩小后的文字 */
}

.left {
    width: 30%;
    /* background-color: rgb(99, 67, 173); */
}

.right {
    width: 70%;
    /* background-color: rgb(128, 143, 139); */
}

a {
    text-decoration: none;
    color: aliceblue;
}

.hpcontent {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-color: aliceblue;
    border: 2px solid white;
    border-radius: 10px;
    margin: 50px 20px 0 10px;
    padding: 25px 30px;
}

.part1content {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5px 0 5px 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    display: block;
    /* 确保其是块级元素，可以垂直扩展 */
    width: auto;
    /* 自动调整宽度 */
    height: auto;
    /* 自动调整高度 */
}

.part1 {
    margin: 2px 0;
    display: block;
}

.contentTitle {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
    cursor: pointer;
}

.introduction {
    margin: 150px 50px 100px 70px;
    color: rgb(206, 205, 205);
    scroll-behavior: smooth;
}

.title1 {
    color: aliceblue;
    font-size: 30px;
    margin: 20px 0;
}

.details {
    margin: 20px;
}

.subtitle {
    color: aliceblue;
    font-size: 18px;
    margin: 20px 5px;
}

.imgdetails {
    width: 100%;
    ;
    margin: 10px;
}

a:hover {
    color: blue;
}

* {
    scroll-behavior: smooth;
    scroll-behavior: smooth;
}

#Q {
    color: rgb(177, 150, 31);
}

.link {
    color: rgb(62, 212, 212);
    font-weight: bold;
}

#referenceTitle {
    margin-top: 100px;
    color: rgb(126, 126, 197);
}

#reference {
    color: rgb(132, 132, 197);
}

#reference a {
    /* text-decoration: none; */
    color: rgb(132, 132, 197);
}

#reference a:hover {
    text-decoration: none;
    color: rgb(2, 2, 255);
}